import {WeaTools} from 'ecCom'

export const editStatus = params => { //更改状态
    return WeaTools.callApi('/api/workrelate/goal/editStatus', 'POST', params);
}

export const editGoalField = params => { //编辑详情字段
    return WeaTools.callApi('/api/workrelate/goal/editGoalField', 'POST', params);
}

export const goalXmind = params => { //获取目标脑图
    return WeaTools.callApi('/api/workrelate/goal/goalXmind', 'GET', params);
}

export const goalCard = params => { //获取组织目标卡片
    return WeaTools.callApi('/api/workrelate/goal/goalCard', 'GET', params);
}

export const workrelateShare = params => { //目标分享
    return WeaTools.callApi('/api/workrelate/common/workrelateShare', 'POST', params);
}